ECHO ^>^> Cleaning ...
ECHO.
rmdir Setup\Controls /Q /S > NUL
rmdir Setup\Pages /Q /S > NUL
rmdir Setup\Files /Q /S > NUL
rmdir Setup\App_GlobalResources /Q /S > NUL

mkdir Setup\Controls
mkdir Setup\Pages
mkdir Setup\Files
mkdir Setup\App_GlobalResources
ECHO.

xcopy /R /y /i /e "Resx\*.resx" "Setup\App_GlobalResources"

xcopy /R /y /i /e "DataEditors\UploadEditor\*.ascx" "Setup\Controls"
xcopy /R /y /i /e "DataEditors\UploadEditor\*.aspx" "Setup\Pages"

xcopy /R /y /i /e "..\Forms\Setup" "Setup"
xcopy /R /y /i /e "Scripts\*.js" "Setup\Files\scripts"
xcopy /R /y /i /e "3rdParty\*.js" "Setup\Files\scripts"
xcopy /R /y /i /e "Styles\*" "Setup\Files\css"
xcopy /R /y /i /e "3rdParty\*.gif" "Setup\Files\css"
xcopy /R /y /i /e "3rdParty\*.png" "Setup\Files\css"
xcopy /R /y /i /e "3rdParty\*.css" "Setup\Files\css"